<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    账户 <input type="text" name="uname">
    <br>
    密码 <input type="password" name="upwd">
    <br>
   角色
    <select name="role" id="">
        <option value="1">学生</option>
        <option value="2">老师</option>
    </select>
    <br>
     <input type="submit" value="登录">
    <a href="{% url 'app1:logoutt' %}"><input type="button" value="注销"></a>
</form>
</body>
</html>